package com.sk.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Tiao entity. @author MyEclipse Persistence Tools
 */

public class Tiao implements java.io.Serializable {

	// Fields

	private Integer tid;
	private String student;
	private String teacher;
	private Set students = new HashSet(0);
	private Set teachers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tiao() {
	}

	/** full constructor */
	public Tiao(String student, String teacher, Set students, Set teachers) {
		this.student = student;
		this.teacher = teacher;
		this.students = students;
		this.teachers = teachers;
	}

	// Property accessors

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getStudent() {
		return this.student;
	}

	public void setStudent(String student) {
		this.student = student;
	}

	public String getTeacher() {
		return this.teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public Set getStudents() {
		return this.students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}

	public Set getTeachers() {
		return this.teachers;
	}

	public void setTeachers(Set teachers) {
		this.teachers = teachers;
	}

}